package com.lagou.repository;

import com.lagou.bean.Resume;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ResumerRepository extends MongoRepository<Resume,String> {

    /**
     * 根据用户名称进行查询
     * @param name
     * @return
     */
    Resume findByName(String name);

}
